﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Web;
//using System.Web.UI;
//using System.Web.UI.WebControls;
//using Ivy.UserRegistration.Entity;
using Ivy.UserRegistration.DataAccess;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using System.Configuration;

using Ivy.Common.Framework.GeneralUtility;
//using Ivy.UserRegistration.IBusinessLogic;
//using Ivy.UserRegistration.BusinessLogic;
using Hsmp.SocietyAdmin.BusinessLogic;
using Hsmp.SocietyAdmin.Entity;
//using Ivy.UserRegistration.Entity;
using Hsmp.SocietyOperation.IBusinessLogic;
using Hsmp.SocietyOperation.BusinessLogic;
using Hsmp.SocietyOperation.Entity;
using Hsmp.SocietyOperation.DataAccess;
using HSMPWeb.ViewEntity;

namespace HSMPWeb.Pages
{
    public partial class TestPageForRampraveshkr : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            //SocietyManagementMemberRegister_GetBySocietyKey(2);
            //UserRegistrationBus lUserRegistrationBus = new UserRegistrationBus();
            
            //List<UserRole> lUserRoles = new List<UserRole>();
            //lUserRoles = lUserRegistrationBus.GetAllRolesForSelectedUser(9);

            //List<Society> lSocieties = new List<Society>();
            //SocietyRegistrationBus lSocietyRegistrationBus = new SocietyRegistrationBus();
            //lSocieties = lSocietyRegistrationBus.GetAllSociety();

            //this.ListingControl1.DataCollection = lUserRoles;
            //this.ListingControl1.DataBind();
            //this.ListingControl1.ColumnCaptionHeading = "UserKey|;UserSocietyKey|;UserRoleKey|;UserLoginID|Login ID;UserSocietyCode|Society Code;UserSocietyName|Society Name;UserRoleCode|Role Code;UserRoleName|Role Name";
            //this.ListingControl1.LoadGridData();
            //this.ListingControl1.RefreshGrid();
            
        }

        //private void Sys_RoleMasterDao_Insert()
        //{
        //    Sys_RoleMaster lSys_RoleMaster = new Sys_RoleMaster();
        //    Sys_RoleMasterDao lSys_RoleMasterDao = new Sys_RoleMasterDao();

        //    lSys_RoleMaster.RoleCode = "HSMP";
        //    lSys_RoleMaster.RoleName = "PARV";
        //    lSys_RoleMaster.RoleDescription = "student1";

        //    lSys_RoleMaster.Sys_CreatedByID = "PRAVESH";
        //    lSys_RoleMasterDao.Insert(lSys_RoleMaster);
        //}

        //private void Sys_RoleMasterDao_Update()
        //{
        //    Sys_RoleMaster lSys_RoleMaster;
        //    Sys_RoleMasterDao lSys_RoleMasterDao = new Sys_RoleMasterDao();

        //    lSys_RoleMaster = lSys_RoleMasterDao.GetByRoleKey(10);

            
        //    lSys_RoleMaster.RoleCode = "RAJ";
        //    lSys_RoleMaster.RoleName = "BHARTI";
        //    lSys_RoleMaster.RoleDescription = "BE";

        //    lSys_RoleMaster.Sys_CreatedByID = "KKR";
        //    lSys_RoleMasterDao.Update(lSys_RoleMaster);
        //}
        //private void Sys_RoleMaster_GetByRoleKey( int RoleKey)
        //{
        //    Sys_RoleMasterDao lSys_RoleMasterDao = new Sys_RoleMasterDao();
        //    Sys_RoleMaster lSys_RoleMaster;

        //    //List<Sys_RoleMaster> lSys_RoleMaster = lSys_RoleMasterDao.GetByRoleKey(8);
            
        //    //Sys_RoleMaster lSys_RoleMaster = lSys_RoleMasterDao.GetByRoleKey(8);
        //    UserRegistrationBus lUserRegistrationBus = new UserRegistrationBus();
        //    lSys_RoleMaster = lUserRegistrationBus.GetBySelectedSys_RoleMasterByRoleKey(RoleKey);

           
        //}
        //private void Sys_RolMaster_GetByRoleCode()
        //{
        //    Sys_RoleMaster lSys_RoleMaster;
        //    Sys_RoleMasterDao lSys_RoleMasterDao = new Sys_RoleMasterDao();
        //    lSys_RoleMaster = lSys_RoleMasterDao.GetByRoleCode("RAJ");
            
        //}
        //private void Sys_RoleMaster_GetByRoleName()
        //{
        //    Sys_RoleMaster lSys_RoleMaster;
        //    Sys_RoleMasterDao lSys_RoleMasterDao = new Sys_RoleMasterDao();
        //    lSys_RoleMaster = lSys_RoleMasterDao.GetByRoleName("BHARTI");
            
        //}

        //private void SocietyManagementMemberRegister_GetBySocietyKey(int SocietyKey)
        //{
        //    SocietyManagementMemberRegister lSocietyManagementMemberRegister;
        //    SocietyManagementMemberRegisterDao lSocietyManagementMemberRegisterDao = new SocietyManagementMemberRegisterDao();
        //    lSocietyManagementMemberRegister = lSocietyManagementMemberRegisterDao.GetSelectedSociety(int SocietyKey);

        //}

    }
}